.search-team-container {
    min-height: 100vh;
    background: linear-gradient(180deg, #6B73FF 0%, #D8DDFF 50%, #FFFFFF 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
  
  /* 顶部导航 */
  .header {
    padding: 15px 20px;
    background: transparent;
  }
  
  .back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .back-icon {
    font-size: 24px;
    font-weight: bold;
  }
  
  /* 主要内容区域 */
  .main-content {
    padding: 0 20px 40px;
  }
  
  /* 页面标题 */
  .page-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: white;
    margin: 0 0 25px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  /* 搜索功能 */
  .search-section {
    margin-bottom: 20px;
  }
  
  .search-container {
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E1E5E9;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  .search-input:focus {
    border-color: #6B73FF;
  }
  
  .search-btn {
    padding: 12px 16px;
    background: #6B73FF;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .search-btn:hover {
    background: #5A63E6;
  }
  
  /* 队伍列表 */
  .team-list {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
  }
  
  .list-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1.5fr 80px;
    gap: 15px;
    padding: 15px 20px;
    background: #F8F9FA;
    border-bottom: 1px solid #E1E5E9;
  }
  
  .header-item {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
  }
  
  .team-item {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1.5fr 80px;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    align-items: center;
  }
  
  .team-item:hover {
    background: #F8F9FA;
  }
  
  .team-item:last-child {
    border-bottom: none;
  }
  
  .team-info {
    font-size: 16px;
    color: #333;
    text-align: center;
  }
  
  .team-name {
    font-weight: 500;
  }
  
  .team-action {
    display: flex;
    justify-content: center;
  }
  
  .join-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F0F0F0;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .join-btn:hover:not(:disabled) {
    transform: scale(1.1);
    background: #E0E0E0;
  }
  
  .join-btn.recommended {
    background: #FFD700;
    color: #FF8C00;
  }
  
  .join-btn.recommended:hover {
    background: #FFC000;
  }
  
  .join-btn.joined {
    background: #6B73FF;
    color: white;
    cursor: not-allowed;
  }
  
  .join-btn:disabled {
    transform: none;
  }
  
  .star-icon {
    font-size: 16px;
  }
  
  /* 加载状态 */
  .loading-container {
    padding: 40px 20px;
    text-align: center;
  }
  
  .loading-text {
    font-size: 16px;
    color: #666;
    font-style: italic;
  }
  
  /* 空状态 */
  .empty-state {
    padding: 40px 20px;
    text-align: center;
  }
  
  .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
  }
  
  .empty-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
  }
  
  .empty-hint {
    font-size: 14px;
    color: #666;
  }
  
  /* 弹窗样式 */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
  }
  
  .modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
  }
  
  .modal-header {
    background: linear-gradient(135deg, #6B73FF 0%, #9B59B6 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }
  
  .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .modal-body {
    padding: 30px 20px;
    text-align: center;
  }
  
  .icon-wrapper {
    margin-bottom: 20px;
  }
  
  .join-icon {
    font-size: 48px;
    margin: 0 auto;
    animation: pulse 2s infinite;
  }
  
  .modal-text {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
  }
  
  .modal-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
  }
  
  .modal-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  
  .cancel-btn,
  .confirm-btn {
    flex: 1;
    max-width: 120px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .cancel-btn:disabled,
  .confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
  }
  
  .cancel-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
  }
  
  .cancel-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
  }
  
  .confirm-btn {
    background: #6B73FF;
    color: white;
    border: none;
  }
  
  .confirm-btn:hover {
    background: #5A63E6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 115, 255, 0.3);
  }
  
  /* 成功和错误状态的头部样式 */
  .success-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  }
  
  .error-header {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  }
  
  /* 消息图标样式 */
  .message-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto;
  }
  
  .success-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  }
  
  .error-icon {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  }
  
  /* 动画效果 */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: scale(0.7);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* 移动端适配 */
  @media (max-width: 768px) {
    .main-content {
      padding: 0 15px 30px;
    }
    
    .list-header,
    .team-item {
      grid-template-columns: 2fr 2fr 1fr 60px;
      gap: 8px;
      padding: 12px 15px;
    }
    
    /* 在移动端隐藏指导老师列 */
    .list-header .header-item:nth-child(4),
    .team-item .team-info:nth-child(4) {
      display: none;
    }
    
    .header-item,
    .team-info {
      font-size: 12px;
    }
    
    .join-btn {
      width: 28px;
      height: 28px;
      font-size: 16px;
    }
    
    .search-container {
      padding: 15px;
    }
    
    .page-title {
      font-size: 24px;
      margin: 0 0 20px 0;
    }
  }
  
  @media (max-width: 480px) {
    .list-header,
    .team-item {
      grid-template-columns: 2fr 1.5fr 50px;
      gap: 6px;
      padding: 10px 12px;
    }
    
    /* 在超小屏幕隐藏成员数和指导老师列 */
    .list-header .header-item:nth-child(3),
    .list-header .header-item:nth-child(4),
    .team-item .team-info:nth-child(3),
    .team-item .team-info:nth-child(4) {
      display: none;
    }
    
    .header-item,
    .team-info {
      font-size: 11px;
    }
    
    .join-btn {
      width: 24px;
      height: 24px;
      font-size: 14px;
    }
    
    .page-title {
      font-size: 20px;
      margin: 0 0 15px 0;
    }
    
    .modal-content {
      width: 95%;
      margin: 20px;
    }
    
    .modal-header {
      padding: 15px;
    }
    
    .modal-header h3 {
      font-size: 16px;
    }
    
    .modal-body {
      padding: 25px 15px;
    }
    
    .join-icon {
      font-size: 40px;
    }
    
    .modal-text {
      font-size: 16px;
    }
    
    .modal-subtitle {
      font-size: 13px;
    }
    
    .cancel-btn,
    .confirm-btn {
      padding: 10px 15px;
      font-size: 14px;
    }
  }